package com.stylefeng.guns.common.persistence.dao;

import com.stylefeng.guns.common.constant.bean.EmpPointPojo;
import com.stylefeng.guns.common.persistence.model.EmpPoints;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
  * 员工积分 Mapper 接口
 * </p>
 *
 * @author rockjh
 * @since 2018-01-31
 */
public interface EmpPointsMapper extends BaseMapper<EmpPoints> {

    List<EmpPoints> selectByYearInCode(@Param("year") String year, @Param("empCodes") List<String> empCodes);

    List<EmpPointPojo> selectEmpByYearInCode(@Param("year") String year, @Param("empCodes") List<String> empCodes);
}